package com.urms.service;

import com.github.pagehelper.PageInfo;
import com.urms.entity.QueryRoleCondition;
import com.urms.entity.Role;

import java.util.List;

public interface RoleSerivce {
    PageInfo<Role> findRole(QueryRoleCondition qrc);

    Integer insertRole(Role role);

    Integer deleteRoleById(Integer roleId);

    List<Role> selectRoleByForm(QueryRoleCondition role);

    Integer deleteRoleList(Integer[] roleIds);

    int selectUserByRoleId(Integer roleId);

    PageInfo<Role> roleSelectByForm(QueryRoleCondition qrc);

    Integer roleUpdate(Role role);
}
